package com.aloha.boot02.domain;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;
import java.util.Map;
import java.util.Set;

@Data
@ConfigurationProperties(prefix = "user-prop")
public class User {

    private String name;

    private Set<Double> ages;

    private String[] addresses;

    private List<String> hobbies;

    private Map<String, Double> scores;
}

